
<!doctype html>
<!--[if lt IE 8]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if IE 9]>    <html class="no-js ie9 oldie" lang="en"> <![endif]-->
<!--[if gt IE 9]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>Beer Nigth</title>
	<meta name="description" content="Primer acercamiento a la api de twitter.">
	<meta name="author" content="Manuel Cabrera">

	<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> -->
	<script src="js/jquery-1.8.3.min.js"></script>

	<script type="text/javascript">

			$.getJSON("http://search.twitter.com/search.json?q=%23Messi&rpp=25&lang=es&callback=?", {}, 
			function (data){
				$.each(data.results, function(i, item){
					$("#body").append("<div>" + item.text + "</div>")
				});
			} );

	</script>

</head>
<body>
	<div id="body">
	</div>
</body>
</html>